import { status } from "../../src/util/status"

export const TOKEN = 'daslkdasjldkjalfjlsjfalkflakckanskcanlknklnqlkwnkqlcnkqlnclwkqnckqlnckqlwnclq'
export const loginResSuccess = {
    message: 'ok',
    status: status.SUCCESS,
    data: {
        [import.meta.env.VITE_TOKEN]: TOKEN,
    },
}

export const loginResFailForUsernameNotExist = {
    message: '账号不存在',
    status: status.LOGIN_FAIL_FOR_NOTEXIST,
}

export const loginResFailForPasswordErr = {
    message: '密码错误',
    status: status.LOGIN_FAIL_FOR_PASSWORD_ERR,
}


export const infoResSuccess = {
    message: 'ok',
    status: status.SUCCESS,
    data: {
        avatar: 'https://www.tsdy.club/blog/medias/avatar.jpg',
        nickname: '冬阳贝贝哥',
    }
}

export const authException = {
    message: 'auth error',
    status: status.AUTH_EXCEPTION,
}